<?php

$str = NULL;
if($str){
  echo "Hello";
} else {
  echo "World";
}
